let a = [
  {
    key: "10000",
    name: "星期一的00:00 ~ 00:30",
  },
  {
    key: "10030",
    name: "星期一的00:30 ~ 01:00",
  },
  {
    key: "10100",
    name: "星期一的01:00 ~ 01:30",
  },
  {
    key: "10130",
    name: "星期一的01:30 ~ 02:00",
  },
  {
    key: "10200",
    name: "星期一的02:00 ~ 02:30",
  },
  {
    key: "10230",
    name: "星期一的02:30 ~ 03:00",
  },
  {
    key: "10300",
    name: "星期一的03:00 ~ 03:30",
  },
  {
    key: "10330",
    name: "星期一的03:30 ~ 04:00",
  },
  {
    key: "10400",
    name: "星期一的04:00 ~ 04:30",
  },
  {
    key: "10430",
    name: "星期一的04:30 ~ 05:00",
  },
  {
    key: "10500",
    name: "星期一的05:00 ~ 05:30",
  },
  {
    key: "10530",
    name: "星期一的05:30 ~ 06:00",
  },
  {
    key: "10600",
    name: "星期一的06:00 ~ 06:30",
  },
  {
    key: "10630",
    name: "星期一的06:30 ~ 07:00",
  },
  {
    key: "10700",
    name: "星期一的07:00 ~ 07:30",
  },
  {
    key: "10730",
    name: "星期一的07:30 ~ 08:00",
  },
  {
    key: "10800",
    name: "星期一的08:00 ~ 08:30",
  },
  {
    key: "10830",
    name: "星期一的08:30 ~ 09:00",
  },
  {
    key: "10900",
    name: "星期一的09:00 ~ 09:30",
  },
  {
    key: "10930",
    name: "星期一的09:30 ~ 10:00",
  },
  {
    key: "11000",
    name: "星期一的10:00 ~ 10:30",
  },
  {
    key: "11030",
    name: "星期一的10:30 ~ 11:00",
  },
  {
    key: "11100",
    name: "星期一的11:00 ~ 11:30",
  },
  {
    key: "11130",
    name: "星期一的11:30 ~ 12:00",
  },
  {
    key: "11200",
    name: "星期一的12:00 ~ 12:30",
  },
  {
    key: "11230",
    name: "星期一的12:30 ~ 13:00",
  },
  {
    key: "11300",
    name: "星期一的13:00 ~ 13:30",
  },
  {
    key: "11330",
    name: "星期一的13:30 ~ 14:00",
  },
  {
    key: "11400",
    name: "星期一的14:00 ~ 14:30",
  },
  {
    key: "11430",
    name: "星期一的14:30 ~ 15:00",
  },
  {
    key: "11500",
    name: "星期一的15:00 ~ 15:30",
  },
  {
    key: "11530",
    name: "星期一的15:30 ~ 16:00",
  },
  {
    key: "11600",
    name: "星期一的16:00 ~ 16:30",
  },
  {
    key: "11630",
    name: "星期一的16:30 ~ 17:00",
  },
  {
    key: "11700",
    name: "星期一的17:00 ~ 17:30",
  },
  {
    key: "11730",
    name: "星期一的17:30 ~ 18:00",
  },
  {
    key: "11800",
    name: "星期一的18:00 ~ 18:30",
  },
  {
    key: "11830",
    name: "星期一的18:30 ~ 19:00",
  },
  {
    key: "11900",
    name: "星期一的19:00 ~ 19:30",
  },
  {
    key: "11930",
    name: "星期一的19:30 ~ 20:00",
  },
  {
    key: "12000",
    name: "星期一的20:00 ~ 20:30",
  },
  {
    key: "12030",
    name: "星期一的20:30 ~ 21:00",
  },
  {
    key: "12100",
    name: "星期一的21:00 ~ 21:30",
  },
  {
    key: "12130",
    name: "星期一的21:30 ~ 22:00",
  },
  {
    key: "12200",
    name: "星期一的22:00 ~ 22:30",
  },
  {
    key: "12230",
    name: "星期一的22:30 ~ 23:00",
  },
  {
    key: "12300",
    name: "星期一的23:00 ~ 23:30",
  },
  {
    key: "12330",
    name: "星期一的23:30 ~ 24:00",
  },
  {
    key: "20000",
    name: "星期二的00:00 ~ 00:30",
  },
  {
    key: "20030",
    name: "星期二的00:30 ~ 01:00",
  },
  {
    key: "20100",
    name: "星期二的01:00 ~ 01:30",
  },
  {
    key: "20130",
    name: "星期二的01:30 ~ 02:00",
  },
  {
    key: "20200",
    name: "星期二的02:00 ~ 02:30",
  },
  {
    key: "20230",
    name: "星期二的02:30 ~ 03:00",
  },
  {
    key: "20300",
    name: "星期二的03:00 ~ 03:30",
  },
  {
    key: "20330",
    name: "星期二的03:30 ~ 04:00",
  },
  {
    key: "20400",
    name: "星期二的04:00 ~ 04:30",
  },
  {
    key: "20430",
    name: "星期二的04:30 ~ 05:00",
  },
  {
    key: "20500",
    name: "星期二的05:00 ~ 05:30",
  },
  {
    key: "20530",
    name: "星期二的05:30 ~ 06:00",
  },
  {
    key: "20600",
    name: "星期二的06:00 ~ 06:30",
  },
  {
    key: "20630",
    name: "星期二的06:30 ~ 07:00",
  },
  {
    key: "20700",
    name: "星期二的07:00 ~ 07:30",
  },
  {
    key: "20730",
    name: "星期二的07:30 ~ 08:00",
  },
  {
    key: "20800",
    name: "星期二的08:00 ~ 08:30",
  },
  {
    key: "20830",
    name: "星期二的08:30 ~ 09:00",
  },
  {
    key: "20900",
    name: "星期二的09:00 ~ 09:30",
  },
  {
    key: "20930",
    name: "星期二的09:30 ~ 10:00",
  },
  {
    key: "21000",
    name: "星期二的10:00 ~ 10:30",
  },
  {
    key: "21030",
    name: "星期二的10:30 ~ 11:00",
  },
  {
    key: "21100",
    name: "星期二的11:00 ~ 11:30",
  },
  {
    key: "21130",
    name: "星期二的11:30 ~ 12:00",
  },
  {
    key: "21200",
    name: "星期二的12:00 ~ 12:30",
  },
  {
    key: "21230",
    name: "星期二的12:30 ~ 13:00",
  },
  {
    key: "21300",
    name: "星期二的13:00 ~ 13:30",
  },
  {
    key: "21330",
    name: "星期二的13:30 ~ 14:00",
  },
  {
    key: "21400",
    name: "星期二的14:00 ~ 14:30",
  },
  {
    key: "21430",
    name: "星期二的14:30 ~ 15:00",
  },
  {
    key: "21500",
    name: "星期二的15:00 ~ 15:30",
  },
  {
    key: "21530",
    name: "星期二的15:30 ~ 16:00",
  },
  {
    key: "21600",
    name: "星期二的16:00 ~ 16:30",
  },
  {
    key: "21630",
    name: "星期二的16:30 ~ 17:00",
  },
  {
    key: "21700",
    name: "星期二的17:00 ~ 17:30",
  },
  {
    key: "21730",
    name: "星期二的17:30 ~ 18:00",
  },
  {
    key: "21800",
    name: "星期二的18:00 ~ 18:30",
  },
  {
    key: "21830",
    name: "星期二的18:30 ~ 19:00",
  },
  {
    key: "21900",
    name: "星期二的19:00 ~ 19:30",
  },
  {
    key: "21930",
    name: "星期二的19:30 ~ 20:00",
  },
  {
    key: "22000",
    name: "星期二的20:00 ~ 20:30",
  },
  {
    key: "22030",
    name: "星期二的20:30 ~ 21:00",
  },
  {
    key: "22100",
    name: "星期二的21:00 ~ 21:30",
  },
  {
    key: "22130",
    name: "星期二的21:30 ~ 22:00",
  },
  {
    key: "22200",
    name: "星期二的22:00 ~ 22:30",
  },
  {
    key: "22230",
    name: "星期二的22:30 ~ 23:00",
  },
  {
    key: "22300",
    name: "星期二的23:00 ~ 23:30",
  },
  {
    key: "22330",
    name: "星期二的23:30 ~ 24:00",
  },
  {
    key: "30000",
    name: "星期三的00:00 ~ 00:30",
  },
  {
    key: "30030",
    name: "星期三的00:30 ~ 01:00",
  },
  {
    key: "30100",
    name: "星期三的01:00 ~ 01:30",
  },
  {
    key: "30130",
    name: "星期三的01:30 ~ 02:00",
  },
  {
    key: "30200",
    name: "星期三的02:00 ~ 02:30",
  },
  {
    key: "30230",
    name: "星期三的02:30 ~ 03:00",
  },
  {
    key: "30300",
    name: "星期三的03:00 ~ 03:30",
  },
  {
    key: "30330",
    name: "星期三的03:30 ~ 04:00",
  },
  {
    key: "30400",
    name: "星期三的04:00 ~ 04:30",
  },
  {
    key: "30430",
    name: "星期三的04:30 ~ 05:00",
  },
  {
    key: "30500",
    name: "星期三的05:00 ~ 05:30",
  },
  {
    key: "30530",
    name: "星期三的05:30 ~ 06:00",
  },
  {
    key: "30600",
    name: "星期三的06:00 ~ 06:30",
  },
  {
    key: "30630",
    name: "星期三的06:30 ~ 07:00",
  },
  {
    key: "30700",
    name: "星期三的07:00 ~ 07:30",
  },
  {
    key: "30730",
    name: "星期三的07:30 ~ 08:00",
  },
  {
    key: "30800",
    name: "星期三的08:00 ~ 08:30",
  },
  {
    key: "30830",
    name: "星期三的08:30 ~ 09:00",
  },
  {
    key: "30900",
    name: "星期三的09:00 ~ 09:30",
  },
  {
    key: "30930",
    name: "星期三的09:30 ~ 10:00",
  },
  {
    key: "31000",
    name: "星期三的10:00 ~ 10:30",
  },
  {
    key: "31030",
    name: "星期三的10:30 ~ 11:00",
  },
  {
    key: "31100",
    name: "星期三的11:00 ~ 11:30",
  },
  {
    key: "31130",
    name: "星期三的11:30 ~ 12:00",
  },
  {
    key: "31200",
    name: "星期三的12:00 ~ 12:30",
  },
  {
    key: "31230",
    name: "星期三的12:30 ~ 13:00",
  },
  {
    key: "31300",
    name: "星期三的13:00 ~ 13:30",
  },
  {
    key: "31330",
    name: "星期三的13:30 ~ 14:00",
  },
  {
    key: "31400",
    name: "星期三的14:00 ~ 14:30",
  },
  {
    key: "31430",
    name: "星期三的14:30 ~ 15:00",
  },
  {
    key: "31500",
    name: "星期三的15:00 ~ 15:30",
  },
  {
    key: "31530",
    name: "星期三的15:30 ~ 16:00",
  },
  {
    key: "31600",
    name: "星期三的16:00 ~ 16:30",
  },
  {
    key: "31630",
    name: "星期三的16:30 ~ 17:00",
  },
  {
    key: "31700",
    name: "星期三的17:00 ~ 17:30",
  },
  {
    key: "31730",
    name: "星期三的17:30 ~ 18:00",
  },
  {
    key: "31800",
    name: "星期三的18:00 ~ 18:30",
  },
  {
    key: "31830",
    name: "星期三的18:30 ~ 19:00",
  },
  {
    key: "31900",
    name: "星期三的19:00 ~ 19:30",
  },
  {
    key: "31930",
    name: "星期三的19:30 ~ 20:00",
  },
  {
    key: "32000",
    name: "星期三的20:00 ~ 20:30",
  },
  {
    key: "32030",
    name: "星期三的20:30 ~ 21:00",
  },
  {
    key: "32100",
    name: "星期三的21:00 ~ 21:30",
  },
  {
    key: "32130",
    name: "星期三的21:30 ~ 22:00",
  },
  {
    key: "32200",
    name: "星期三的22:00 ~ 22:30",
  },
  {
    key: "32230",
    name: "星期三的22:30 ~ 23:00",
  },
  {
    key: "32300",
    name: "星期三的23:00 ~ 23:30",
  },
  {
    key: "32330",
    name: "星期三的23:30 ~ 24:00",
  },
  {
    key: "40000",
    name: "星期四的00:00 ~ 00:30",
  },
  {
    key: "40030",
    name: "星期四的00:30 ~ 01:00",
  },
  {
    key: "40100",
    name: "星期四的01:00 ~ 01:30",
  },
  {
    key: "40130",
    name: "星期四的01:30 ~ 02:00",
  },
  {
    key: "40200",
    name: "星期四的02:00 ~ 02:30",
  },
  {
    key: "40230",
    name: "星期四的02:30 ~ 03:00",
  },
  {
    key: "40300",
    name: "星期四的03:00 ~ 03:30",
  },
  {
    key: "40330",
    name: "星期四的03:30 ~ 04:00",
  },
  {
    key: "40400",
    name: "星期四的04:00 ~ 04:30",
  },
  {
    key: "40430",
    name: "星期四的04:30 ~ 05:00",
  },
  {
    key: "40500",
    name: "星期四的05:00 ~ 05:30",
  },
  {
    key: "40530",
    name: "星期四的05:30 ~ 06:00",
  },
  {
    key: "40600",
    name: "星期四的06:00 ~ 06:30",
  },
  {
    key: "40630",
    name: "星期四的06:30 ~ 07:00",
  },
  {
    key: "40700",
    name: "星期四的07:00 ~ 07:30",
  },
  {
    key: "40730",
    name: "星期四的07:30 ~ 08:00",
  },
  {
    key: "40800",
    name: "星期四的08:00 ~ 08:30",
  },
  {
    key: "40830",
    name: "星期四的08:30 ~ 09:00",
  },
  {
    key: "40900",
    name: "星期四的09:00 ~ 09:30",
  },
  {
    key: "40930",
    name: "星期四的09:30 ~ 10:00",
  },
  {
    key: "41000",
    name: "星期四的10:00 ~ 10:30",
  },
  {
    key: "41030",
    name: "星期四的10:30 ~ 11:00",
  },
  {
    key: "41100",
    name: "星期四的11:00 ~ 11:30",
  },
  {
    key: "41130",
    name: "星期四的11:30 ~ 12:00",
  },
  {
    key: "41200",
    name: "星期四的12:00 ~ 12:30",
  },
  {
    key: "41230",
    name: "星期四的12:30 ~ 13:00",
  },
  {
    key: "41300",
    name: "星期四的13:00 ~ 13:30",
  },
  {
    key: "41330",
    name: "星期四的13:30 ~ 14:00",
  },
  {
    key: "41400",
    name: "星期四的14:00 ~ 14:30",
  },
  {
    key: "41430",
    name: "星期四的14:30 ~ 15:00",
  },
  {
    key: "41500",
    name: "星期四的15:00 ~ 15:30",
  },
  {
    key: "41530",
    name: "星期四的15:30 ~ 16:00",
  },
  {
    key: "41600",
    name: "星期四的16:00 ~ 16:30",
  },
  {
    key: "41630",
    name: "星期四的16:30 ~ 17:00",
  },
  {
    key: "41700",
    name: "星期四的17:00 ~ 17:30",
  },
  {
    key: "41730",
    name: "星期四的17:30 ~ 18:00",
  },
  {
    key: "41800",
    name: "星期四的18:00 ~ 18:30",
  },
  {
    key: "41830",
    name: "星期四的18:30 ~ 19:00",
  },
  {
    key: "41900",
    name: "星期四的19:00 ~ 19:30",
  },
  {
    key: "41930",
    name: "星期四的19:30 ~ 20:00",
  },
  {
    key: "42000",
    name: "星期四的20:00 ~ 20:30",
  },
  {
    key: "42030",
    name: "星期四的20:30 ~ 21:00",
  },
  {
    key: "42100",
    name: "星期四的21:00 ~ 21:30",
  },
  {
    key: "42130",
    name: "星期四的21:30 ~ 22:00",
  },
  {
    key: "42200",
    name: "星期四的22:00 ~ 22:30",
  },
  {
    key: "42230",
    name: "星期四的22:30 ~ 23:00",
  },
  {
    key: "42300",
    name: "星期四的23:00 ~ 23:30",
  },
  {
    key: "42330",
    name: "星期四的23:30 ~ 24:00",
  },
  {
    key: "50000",
    name: "星期五的00:00 ~ 00:30",
  },
  {
    key: "50030",
    name: "星期五的00:30 ~ 01:00",
  },
  {
    key: "50100",
    name: "星期五的01:00 ~ 01:30",
  },
  {
    key: "50130",
    name: "星期五的01:30 ~ 02:00",
  },
  {
    key: "50200",
    name: "星期五的02:00 ~ 02:30",
  },
  {
    key: "50230",
    name: "星期五的02:30 ~ 03:00",
  },
  {
    key: "50300",
    name: "星期五的03:00 ~ 03:30",
  },
  {
    key: "50330",
    name: "星期五的03:30 ~ 04:00",
  },
  {
    key: "50400",
    name: "星期五的04:00 ~ 04:30",
  },
  {
    key: "50430",
    name: "星期五的04:30 ~ 05:00",
  },
  {
    key: "50500",
    name: "星期五的05:00 ~ 05:30",
  },
  {
    key: "50530",
    name: "星期五的05:30 ~ 06:00",
  },
  {
    key: "50600",
    name: "星期五的06:00 ~ 06:30",
  },
  {
    key: "50630",
    name: "星期五的06:30 ~ 07:00",
  },
  {
    key: "50700",
    name: "星期五的07:00 ~ 07:30",
  },
  {
    key: "50730",
    name: "星期五的07:30 ~ 08:00",
  },
  {
    key: "50800",
    name: "星期五的08:00 ~ 08:30",
  },
  {
    key: "50830",
    name: "星期五的08:30 ~ 09:00",
  },
  {
    key: "50900",
    name: "星期五的09:00 ~ 09:30",
  },
  {
    key: "50930",
    name: "星期五的09:30 ~ 10:00",
  },
  {
    key: "51000",
    name: "星期五的10:00 ~ 10:30",
  },
  {
    key: "51030",
    name: "星期五的10:30 ~ 11:00",
  },
  {
    key: "51100",
    name: "星期五的11:00 ~ 11:30",
  },
  {
    key: "51130",
    name: "星期五的11:30 ~ 12:00",
  },
  {
    key: "51200",
    name: "星期五的12:00 ~ 12:30",
  },
  {
    key: "51230",
    name: "星期五的12:30 ~ 13:00",
  },
  {
    key: "51300",
    name: "星期五的13:00 ~ 13:30",
  },
  {
    key: "51330",
    name: "星期五的13:30 ~ 14:00",
  },
  {
    key: "51400",
    name: "星期五的14:00 ~ 14:30",
  },
  {
    key: "51430",
    name: "星期五的14:30 ~ 15:00",
  },
  {
    key: "51500",
    name: "星期五的15:00 ~ 15:30",
  },
  {
    key: "51530",
    name: "星期五的15:30 ~ 16:00",
  },
  {
    key: "51600",
    name: "星期五的16:00 ~ 16:30",
  },
  {
    key: "51630",
    name: "星期五的16:30 ~ 17:00",
  },
  {
    key: "51700",
    name: "星期五的17:00 ~ 17:30",
  },
  {
    key: "51730",
    name: "星期五的17:30 ~ 18:00",
  },
  {
    key: "51800",
    name: "星期五的18:00 ~ 18:30",
  },
  {
    key: "51830",
    name: "星期五的18:30 ~ 19:00",
  },
  {
    key: "51900",
    name: "星期五的19:00 ~ 19:30",
  },
  {
    key: "51930",
    name: "星期五的19:30 ~ 20:00",
  },
  {
    key: "52000",
    name: "星期五的20:00 ~ 20:30",
  },
  {
    key: "52030",
    name: "星期五的20:30 ~ 21:00",
  },
  {
    key: "52100",
    name: "星期五的21:00 ~ 21:30",
  },
  {
    key: "52130",
    name: "星期五的21:30 ~ 22:00",
  },
  {
    key: "52200",
    name: "星期五的22:00 ~ 22:30",
  },
  {
    key: "52230",
    name: "星期五的22:30 ~ 23:00",
  },
  {
    key: "52300",
    name: "星期五的23:00 ~ 23:30",
  },
  {
    key: "52330",
    name: "星期五的23:30 ~ 24:00",
  },
  {
    key: "60000",
    name: "星期六的00:00 ~ 00:30",
  },
  {
    key: "60030",
    name: "星期六的00:30 ~ 01:00",
  },
  {
    key: "60100",
    name: "星期六的01:00 ~ 01:30",
  },
  {
    key: "60130",
    name: "星期六的01:30 ~ 02:00",
  },
  {
    key: "60200",
    name: "星期六的02:00 ~ 02:30",
  },
  {
    key: "60230",
    name: "星期六的02:30 ~ 03:00",
  },
  {
    key: "60300",
    name: "星期六的03:00 ~ 03:30",
  },
  {
    key: "60330",
    name: "星期六的03:30 ~ 04:00",
  },
  {
    key: "60400",
    name: "星期六的04:00 ~ 04:30",
  },
  {
    key: "60430",
    name: "星期六的04:30 ~ 05:00",
  },
  {
    key: "60500",
    name: "星期六的05:00 ~ 05:30",
  },
  {
    key: "60530",
    name: "星期六的05:30 ~ 06:00",
  },
  {
    key: "60600",
    name: "星期六的06:00 ~ 06:30",
  },
  {
    key: "60630",
    name: "星期六的06:30 ~ 07:00",
  },
  {
    key: "60700",
    name: "星期六的07:00 ~ 07:30",
  },
  {
    key: "60730",
    name: "星期六的07:30 ~ 08:00",
  },
  {
    key: "60800",
    name: "星期六的08:00 ~ 08:30",
  },
  {
    key: "60830",
    name: "星期六的08:30 ~ 09:00",
  },
  {
    key: "60900",
    name: "星期六的09:00 ~ 09:30",
  },
  {
    key: "60930",
    name: "星期六的09:30 ~ 10:00",
  },
  {
    key: "61000",
    name: "星期六的10:00 ~ 10:30",
  },
  {
    key: "61030",
    name: "星期六的10:30 ~ 11:00",
  },
  {
    key: "61100",
    name: "星期六的11:00 ~ 11:30",
  },
  {
    key: "61130",
    name: "星期六的11:30 ~ 12:00",
  },
  {
    key: "61200",
    name: "星期六的12:00 ~ 12:30",
  },
  {
    key: "61230",
    name: "星期六的12:30 ~ 13:00",
  },
  {
    key: "61300",
    name: "星期六的13:00 ~ 13:30",
  },
  {
    key: "61330",
    name: "星期六的13:30 ~ 14:00",
  },
  {
    key: "61400",
    name: "星期六的14:00 ~ 14:30",
  },
  {
    key: "61430",
    name: "星期六的14:30 ~ 15:00",
  },
  {
    key: "61500",
    name: "星期六的15:00 ~ 15:30",
  },
  {
    key: "61530",
    name: "星期六的15:30 ~ 16:00",
  },
  {
    key: "61600",
    name: "星期六的16:00 ~ 16:30",
  },
  {
    key: "61630",
    name: "星期六的16:30 ~ 17:00",
  },
  {
    key: "61700",
    name: "星期六的17:00 ~ 17:30",
  },
  {
    key: "61730",
    name: "星期六的17:30 ~ 18:00",
  },
  {
    key: "61800",
    name: "星期六的18:00 ~ 18:30",
  },
  {
    key: "61830",
    name: "星期六的18:30 ~ 19:00",
  },
  {
    key: "61900",
    name: "星期六的19:00 ~ 19:30",
  },
  {
    key: "61930",
    name: "星期六的19:30 ~ 20:00",
  },
  {
    key: "62000",
    name: "星期六的20:00 ~ 20:30",
  },
  {
    key: "62030",
    name: "星期六的20:30 ~ 21:00",
  },
  {
    key: "62100",
    name: "星期六的21:00 ~ 21:30",
  },
  {
    key: "62130",
    name: "星期六的21:30 ~ 22:00",
  },
  {
    key: "62200",
    name: "星期六的22:00 ~ 22:30",
  },
  {
    key: "62230",
    name: "星期六的22:30 ~ 23:00",
  },
  {
    key: "62300",
    name: "星期六的23:00 ~ 23:30",
  },
  {
    key: "62330",
    name: "星期六的23:30 ~ 24:00",
  },
  {
    key: "70000",
    name: "星期日的00:00 ~ 00:30",
  },
  {
    key: "70030",
    name: "星期日的00:30 ~ 01:00",
  },
  {
    key: "70100",
    name: "星期日的01:00 ~ 01:30",
  },
  {
    key: "70130",
    name: "星期日的01:30 ~ 02:00",
  },
  {
    key: "70200",
    name: "星期日的02:00 ~ 02:30",
  },
  {
    key: "70230",
    name: "星期日的02:30 ~ 03:00",
  },
  {
    key: "70300",
    name: "星期日的03:00 ~ 03:30",
  },
  {
    key: "70330",
    name: "星期日的03:30 ~ 04:00",
  },
  {
    key: "70400",
    name: "星期日的04:00 ~ 04:30",
  },
  {
    key: "70430",
    name: "星期日的04:30 ~ 05:00",
  },
  {
    key: "70500",
    name: "星期日的05:00 ~ 05:30",
  },
  {
    key: "70530",
    name: "星期日的05:30 ~ 06:00",
  },
  {
    key: "70600",
    name: "星期日的06:00 ~ 06:30",
  },
  {
    key: "70630",
    name: "星期日的06:30 ~ 07:00",
  },
  {
    key: "70700",
    name: "星期日的07:00 ~ 07:30",
  },
  {
    key: "70730",
    name: "星期日的07:30 ~ 08:00",
  },
  {
    key: "70800",
    name: "星期日的08:00 ~ 08:30",
  },
  {
    key: "70830",
    name: "星期日的08:30 ~ 09:00",
  },
  {
    key: "70900",
    name: "星期日的09:00 ~ 09:30",
  },
  {
    key: "70930",
    name: "星期日的09:30 ~ 10:00",
  },
  {
    key: "71000",
    name: "星期日的10:00 ~ 10:30",
  },
  {
    key: "71030",
    name: "星期日的10:30 ~ 11:00",
  },
  {
    key: "71100",
    name: "星期日的11:00 ~ 11:30",
  },
  {
    key: "71130",
    name: "星期日的11:30 ~ 12:00",
  },
  {
    key: "71200",
    name: "星期日的12:00 ~ 12:30",
  },
  {
    key: "71230",
    name: "星期日的12:30 ~ 13:00",
  },
  {
    key: "71300",
    name: "星期日的13:00 ~ 13:30",
  },
  {
    key: "71330",
    name: "星期日的13:30 ~ 14:00",
  },
  {
    key: "71400",
    name: "星期日的14:00 ~ 14:30",
  },
  {
    key: "71430",
    name: "星期日的14:30 ~ 15:00",
  },
  {
    key: "71500",
    name: "星期日的15:00 ~ 15:30",
  },
  {
    key: "71530",
    name: "星期日的15:30 ~ 16:00",
  },
  {
    key: "71600",
    name: "星期日的16:00 ~ 16:30",
  },
  {
    key: "71630",
    name: "星期日的16:30 ~ 17:00",
  },
  {
    key: "71700",
    name: "星期日的17:00 ~ 17:30",
  },
  {
    key: "71730",
    name: "星期日的17:30 ~ 18:00",
  },
  {
    key: "71800",
    name: "星期日的18:00 ~ 18:30",
  },
  {
    key: "71830",
    name: "星期日的18:30 ~ 19:00",
  },
  {
    key: "71900",
    name: "星期日的19:00 ~ 19:30",
  },
  {
    key: "71930",
    name: "星期日的19:30 ~ 20:00",
  },
  {
    key: "72000",
    name: "星期日的20:00 ~ 20:30",
  },
  {
    key: "72030",
    name: "星期日的20:30 ~ 21:00",
  },
  {
    key: "72100",
    name: "星期日的21:00 ~ 21:30",
  },
  {
    key: "72130",
    name: "星期日的21:30 ~ 22:00",
  },
  {
    key: "72200",
    name: "星期日的22:00 ~ 22:30",
  },
  {
    key: "72230",
    name: "星期日的22:30 ~ 23:00",
  },
  {
    key: "72300",
    name: "星期日的23:00 ~ 23:30",
  },
  {
    key: "72330",
    name: "星期日的23:30 ~ 24:00",
  },
];

let obj ={
  "1":[1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "2":[1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1],
  "3":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "4":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "5":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "6":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],
  "7":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1]
}


// [10000,10030]

function getStatus(obj: Record<string, number[]>) {
  const result: string[] = [];
  
  // 遍历每一天
  for (const [day, slots] of Object.entries(obj)) {
    // 遍历该天的每个时间段
    slots.forEach((status, index) => {
      if (status === 1) {
        const timeIndex = index * 30;
        const hours = Math.floor(timeIndex / 60);
        const minutes = timeIndex % 60;
        const key = `${day}${String(hours).padStart(2, '0')}${String(minutes).padStart(2, '0')}`;
        result.push(key);
      }
    });
  }
  
  return result.join(',');
}

console.log(getStatus(obj));

// enum.ts
export function renderField(data: any): any {
  let str = "";
  for (const i in data) {
    const enumItem = EnumData[i];
    const value = data[i];
    if (enumItem && !_.isNil(value) && value !== "" && value.length !== 0) {
      const title = enumItem.title + "：";
      let text;
      if (enumItem.render) {
        // 有渲染方法的情况
        text = enumItem.render(value, data);
      } else {
        if (enumItem?.maps?.[value]) {
          // 有映射的情况
          text = enumItem?.maps?.[value] || value;
        }
      }
      str += `<div>${title}${text}</div>`
    }
  }

  return str
}

// renderField.vue
<template>
    <div v-html="renderFieldMap[adxId](data)" :key="key"></div>
</template>

<script setup lang="ts">
import { ref, inject } from "vue";
import { EXCHANGE } from "@/config/enum";
import { renderField as xiaomiRenderField } from "@/pages/NewBatchCreateAd/adx/xiaomi/enum";
import { batchCreateAdStore } from "@/pages/NewBatchCreateAd/store/batchCreateAdStore";
import { storeToRefs } from "pinia";
const store = batchCreateAdStore();

const key = ref(0)

const props = withDefaults(
  defineProps<{
    // 定义
    dataField: string; // 展示数据在store的字段名称
    col: ColDto; // 规则列信息
  }>(),
  {}
);

const adxId = inject("adxId");
const { [props.dataField]: data } = storeToRefs(store);

const renderFieldMap = {
  [EXCHANGE.XIAOMI]: xiaomiRenderField,
};
</script>

<style scoped>

</style>

// StrategyList.vue
import RenderField from "@/pages/NewBatchCreateAd/components/render/RenderField.vue";

const renderField = (col: ColDto) => {
  return h(RenderField, {
    col: col,
    dataField: col.dataField,
  })
}

renderMap.value.set("renderField", renderField);

// index.vue
{
  name: "plan",
  text: "广告计划",
  width: 150,
  render: "renderField",
  editType: "edit",
  editTypeText: "编辑",
  dataField: "Plan",
},